Optimal. Leaf size=43 \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac{b \tanh ^{-1}\left (c x^2\right )}{4 c^2}+\frac{b x^2}{4 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0297085, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {6097, 275, 321, 206} \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac{b \tanh ^{-1}\left (c x^2\right )}{4 c^2}+\frac{b x^2}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 275
Rule 321
Rule 206
Rubi steps
\begin{align*} \int x^3 \left (a+b \tanh ^{-1}\left (c x^2\right )\right ) \, dx &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac{1}{2} (b c) \int \frac{x^5}{1-c^2 x^4} \, dx\\ &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac{1}{4} (b c) \operatorname{Subst}\left (\int \frac{x^2}{1-c^2 x^2} \, dx,x,x^2\right )\\ &=\frac{b x^2}{4 c}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac{b \operatorname{Subst}\left (\int \frac{1}{1-c^2 x^2} \, dx,x,x^2\right )}{4 c}\\ &=\frac{b x^2}{4 c}-\frac{b \tanh ^{-1}\left (c x^2\right )}{4 c^2}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )\\ \end{align*}
Mathematica [A] time = 0.0129561, size = 67, normalized size = 1.56 \[ \frac{a x^4}{4}+\frac{b \log \left (1-c x^2\right )}{8 c^2}-\frac{b \log \left (c x^2+1\right )}{8 c^2}+\frac{b x^2}{4 c}+\frac{1}{4} b x^4 \tanh ^{-1}\left (c x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 57, normalized size = 1.3 \begin{align*}{\frac{{x}^{4}a}{4}}+{\frac{b{x}^{4}{\it Artanh} \left ( c{x}^{2} \right ) }{4}}+{\frac{b{x}^{2}}{4\,c}}+{\frac{b\ln \left ( c{x}^{2}-1 \right ) }{8\,{c}^{2}}}-{\frac{b\ln \left ( c{x}^{2}+1 \right ) }{8\,{c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.955376, size = 78, normalized size = 1.81 \begin{align*} \frac{1}{4} \, a x^{4} + \frac{1}{8} \,{\left (2 \, x^{4} \operatorname{artanh}\left (c x^{2}\right ) + c{\left (\frac{2 \, x^{2}}{c^{2}} - \frac{\log \left (c x^{2} + 1\right )}{c^{3}} + \frac{\log \left (c x^{2} - 1\right )}{c^{3}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.02008, size = 112, normalized size = 2.6 \begin{align*} \frac{2 \, a c^{2} x^{4} + 2 \, b c x^{2} +{\left (b c^{2} x^{4} - b\right )} \log \left (-\frac{c x^{2} + 1}{c x^{2} - 1}\right )}{8 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 14.0799, size = 48, normalized size = 1.12 \begin{align*} \begin{cases} \frac{a x^{4}}{4} + \frac{b x^{4} \operatorname{atanh}{\left (c x^{2} \right )}}{4} + \frac{b x^{2}}{4 c} - \frac{b \operatorname{atanh}{\left (c x^{2} \right )}}{4 c^{2}} & \text{for}\: c \neq 0 \\\frac{a x^{4}}{4} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18379, size = 93, normalized size = 2.16 \begin{align*} \frac{1}{8} \, b x^{4} \log \left (-\frac{c x^{2} + 1}{c x^{2} - 1}\right ) + \frac{1}{4} \, a x^{4} + \frac{b x^{2}}{4 \, c} - \frac{b \log \left (c x^{2} + 1\right )}{8 \, c^{2}} + \frac{b \log \left (c x^{2} - 1\right )}{8 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]